package cn.ronghuanet.auth.service.impl;

import cn.ronghuanet.auth.domain.Menu;
import cn.ronghuanet.auth.mapper.MenuMapper;
import cn.ronghuanet.auth.service.IMenuService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public class MenuServiceImpl implements IMenuService {
    @Autowired
    private MenuMapper mapper;

    @Override
    public List<Menu> getMenuById(Long id) {
        return mapper.getMenuById(id);
    }
}
